#pragma once

#include <Blobz.h>
#include <BlobzUtility.h>
#include "ExampleInteractable.h"
#include "TouchListener/TouchData.h"

namespace Tutorial2
{
	class TutorApp2 : public Blobz::BaseApplication
	{
	public:
		TutorApp2();
		~TutorApp2();

	public:
		virtual bool onInitialize();
		virtual void onDeinitialize();

		virtual void onReload();

		virtual void onUpdate(float inFrameTime);
		virtual void onDraw();

		virtual void onFingerDown(const TouchListener::TouchData& inData);
		virtual void onFingerUp(const TouchListener::TouchData& inData);
		virtual void onFingerUpdate(const TouchListener::TouchData& inData);
		virtual void onFingerExit(const TouchListener::TouchData& inData);

	private:
		Blobz::Texture mBackgroundTexture;
		Blobz::TrueTypeFont mExampleFont;
		QString mHelloMessage;
		ExampleInteractable mExampleInteractable;
	};
}
